import WrapperRoutes from './router'
// import { BrowserRouter } from 'react-router-dom'
import React from 'react'
import { HistoryRouter, history } from './router/history'
import { Suspense } from 'react'
const App: React.FC = () => {
  return (
    <div className="App">
      <HistoryRouter history={history}>
        <Suspense>
          <WrapperRoutes />
        </Suspense>
      </HistoryRouter>
    </div>
  )
}

export default App
